/**
@description go_learn文件

@copyright    Copyright 2022 高灯科技
@version      1.0.0
@link         https://www.goldentec.com
@author       venki.chen <venki.chen@goldentec.com>
@datetime     2022/1/17 17:36
*/

package main

import (
	"fmt"
	person_pb "gitee.com/venki/go_study_accumulate/go_learn/grpc"
)

func main() {
	NewPersonMessage()
}

func NewPersonMessage() {
	person := person_pb.PersonMessage{
		Id:           521013,
		Name:         "venki.chen",
		IsAdult:      false,
		LuckyNumbers: []int32{1, 2},
	}

	fmt.Println(person)
	person.Name = "poet.chao"

	fmt.Printf("%s的id标识是：%d", person.GetName(), person.GetId())
}
